package com.example.study.config.redis;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.cache.annotation.Cacheable;

import java.lang.reflect.Type;

/**
 * @author fly_roushan
 * 2023/5/12 17:17
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class CacheInfo {

    /**
     * 返回值类型
     */
    private Type returnType;

    /**
     * 注解信息
     */
    private Cacheable cacheable;
}

